import request from '@/utils/request'

export function getCoinInfo() {
	return request({
		'url': '/coinInfo/list',
		'method': 'get'
	})
}

export function isInsert() {
	return request({
		'url': '/coinInfo/isInsert',
		'method': 'get'
	})
}

export function saveCoin(data) {
	return request({
		'url': '/coinInfo/save',
		'method': 'post',
		'data': data
	})
}